<?php 
// include '../function.php';
// include './Car.class.php';
// include './Dongwu.class.php';
// include './Ren.class.php';
// include './Man.class.php';
// include './Women.class.php';
function __autoload($s)
{
	include './'.$s.".class.php";
}


echo __LINE__;
// $obj = new Dongwu();

// $obj->chifan();


// echo Man::a();

$man = new Man("小明");

// $obj = new Man();

// $man->Hj();

// $man->chifan();

// $man->huode();

$women = new Women();

// $women->taobao();

// $women->chifan();


// $obj = new Car();
// $obj->name="奥迪";
// echo $obj->run();
// $obj1 = new Car("奥迪",'红色');
// echo $obj1->run();
// $obj = new Car("宝马",'蓝色');
// echo $obj->run();
// 
// 

// include './Dw.class.php';
// include './Cat.class.php';
// include './Dog.class.php';

// include './Usb.class.php';
// include './Lan.class.php';
// include './Pc.class.php';

$obj = new Dog();

// var_dump(isset($obj->namesdfsdf));
$obj->bbbbb('9999','sdfsdf');




// $obj = new Xbs();



// $obj = new Pc();


// echo __DIR__;
// $obj->jiao();


include './Upload.class.php';

$config = array(
	'path'=>'./face',
	'max_size'=>20000000,
	'type'=>'txt'
	);

$obj = new upload($config);

$obj->save();









 ?>